import request from '@/utils/https'

export function saveReactionExam(data: any) {
  return request<any>({
    url: '/saveReactionExam',
    method: 'post',
    data
  })
}

export function getReactionExam(data: any) {
  return request<any>({
    url: '/getReactionExam',
    method: 'post',
    data
  })
}

export function getTramCommentList(data: any, articleId) {
  return request<any>({
    url: '/getTramCommentList',
    method: 'post',
    data,
    params: {
      articleId
    }
  })
}

export function saveTranComment(data: any) {
  return request<any>({
    url: '/saveTranComment',
    method: 'post',
    data
  })
}
